/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.server.dto;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class DTO_WallsAndOpenings extends DTO_AbstractPersistentEntity {

	private static final long serialVersionUID = 6385836398222631160L;
	
	@Persistent private String cladding;
	@Persistent private Integer maximumExposure;
	@Persistent private String percentageDoorWindowOpenings;
	@Persistent private String glassType;
	@Persistent private String glassPaneConstruction;
	@Persistent private String shutterType;
	@Persistent private String shutterCompliance;
	@Persistent private String percentageOtherDoorArea;
	@Persistent private String garageDoors;
	@Persistent private String rollUpDoors;
	@Persistent private String doorProtectionType;
	@Persistent private String doorProtectionCompliance;

	// constants
	public static final String CLADDING = "cladding";
	public static final String MAXIMUMEXPOSURE = "maximum exposure";
	public static final String PERCENTAGEDOORWINDOWOPENINGS = "percentage door window openings";
	public static final String GLASSTYPE = "glass type";
	public static final String GLASSPANECONSTRUCTION = "glass pane construction";
	public static final String SHUTTERTYPE = "shutter type";
	public static final String SHUTTERCOMPLIANCE = "shutter compliance";
	public static final String PERCENTAGEOTHERDOORAREA = "percentage other door area";
	public static final String GARAGEDOORS = "garage doors";
	public static final String ROLLUPDOORS = "rollup doors";
	public static final String DOORPROTECTIONTYPE = "door protection type";
	public static final String DOORPROTECTIONCOMPLIANCE = "door protection compliance";
	
	public DTO_WallsAndOpenings()
	{
		
	}
	
	public String getCladding() {
		return cladding;
	}




	public void setCladding(String cladding) {
		this.cladding = cladding;
	}




	public String getDoorProtectionCompliance() {
		return doorProtectionCompliance;
	}




	public void setDoorProtectionCompliance(String doorProtectionCompliance) {
		this.doorProtectionCompliance = doorProtectionCompliance;
	}




	public String getDoorProtectionType() {
		return doorProtectionType;
	}




	public void setDoorProtectionType(String doorProtectionType) {
		this.doorProtectionType = doorProtectionType;
	}




	public String getGarageDoors() {
		return garageDoors;
	}




	public void setGarageDoors(String garageDoors) {
		this.garageDoors = garageDoors;
	}




	public String getGlassPaneConstruction() {
		return glassPaneConstruction;
	}




	public void setGlassPaneConstruction(String glassPaneConstruction) {
		this.glassPaneConstruction = glassPaneConstruction;
	}




	public String getGlassType() {
		return glassType;
	}




	public void setGlassType(String glassType) {
		this.glassType = glassType;
	}




	public Integer getMaximumExposure() {
		return maximumExposure;
	}




	public void setMaximumExposure(Integer maximumExposure) {
		this.maximumExposure = maximumExposure;
	}




	public String getPercentageDoorWindowOpenings() {
		return percentageDoorWindowOpenings;
	}




	public void setPercentageDoorWindowOpenings(String percentageDoorWindowOpenings) {
		this.percentageDoorWindowOpenings = percentageDoorWindowOpenings;
	}




	public String getPercentageOtherDoorArea() {
		return percentageOtherDoorArea;
	}




	public void setPercentageOtherDoorArea(String percentageOtherDoorArea) {
		this.percentageOtherDoorArea = percentageOtherDoorArea;
	}




	public String getRollUpDoors() {
		return rollUpDoors;
	}




	public void setRollUpDoors(String rollUpDoors) {
		this.rollUpDoors = rollUpDoors;
	}




	public String getShutterCompliance() {
		return shutterCompliance;
	}




	public void setShutterCompliance(String shutterCompliance) {
		this.shutterCompliance = shutterCompliance;
	}




	public String getShutterType() {
		return shutterType;
	}




	public void setShutterType(String shutterType) {
		this.shutterType = shutterType;
	}




	public String toString()
	{
		String str = "";
		str += "[walls-openings";
		str += "[cladding="+this.cladding+"]";
		str += "[door-protection-compliance="+this.doorProtectionCompliance+"]";
		str += "[door-protection-type="+this.doorProtectionType+"]";
		str += "[garage-doors="+this.garageDoors+"]";
		str += "[glass-pane-construction="+this.glassPaneConstruction+"]";
		str += "[glass-type="+this.glassType+"]";
		str += "[maximum-exposure="+this.maximumExposure+"]";
		str += "[percentage-door-window-openings="+this.percentageDoorWindowOpenings+"]";
		str += "[percentage-other-door-area="+this.percentageOtherDoorArea+"]";
		str += "[roll-doors="+this.rollUpDoors+"]";
		str += "[shutter-compliance="+this.shutterCompliance+"]";
		str += "[shutter-type="+this.shutterType+"]";
		str += "]";
		return str;
	}
}
